<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Discussion board</title>
<script type="text/javascript">
	$(function() {
		$("#update_Btn").click(function() {
			location.href="${initParam.root}/board_updateDisBoard.do?disNo="+$("#disNo").val()+"&disContent="+$("#disContent").val();
		});
	});
</script>
</head>
<body>
<center>
<h2>토론게시판 글수정</h2>
<table rules="all">
	<tr>
		<td><input type="text" id="disNo" value="${requestScope.dvo.disNo }" readonly="readonly"></td>
	</tr>
	<tr>
		<td><pre><textarea id="disContent" rows="10" cols="30" style="resize:none">${requestScope.dvo.disContent }</textarea></pre></td>
	</tr>
</table>
<input type="button" value="수정" id="update_Btn">
</center>
</body>
</html>